{include file=member.header.html}
<script type="text/javascript">
function submitDdata()
{
	var remark_input = $('#remark_input').val();
	var invoice_no = $('#invoice_no_input').val();
	var express_company = $('#express_company').val();
	if(invoice_no == "")
	{
		errormsg("{$lang.invoice_no_empty}");
	}
	else
	{
		var url = REAL_SITE_URL+"/index.php?app=seller_order&act=shipped&order_id={$order.order_id}";
		$.post(url,{remark:remark_input,invoice_no:invoice_no, express_company:express_company},function(data){
			if(data == true){
				msg("{$lang.handle_ok}");
				setTimeout(function(){
					window.location.href=REAL_SITE_URL+"/index.php?app=seller_order";
				},1500);
			}  
		},"json");
	}
}
</script>
<div id="page-seller-order">
    <div class="adjust-fee-body padding10">
        	<p>{$lang.order_sn}:{$order.order_sn}</p>
            <ul class="foll_in">
            
            	<!--{if $enable_express}-->
    			<li>
        			<p>
        				<select  name="express_company" id="express_company" style="width:99%;height:50px;padding:0px;" class="text">
            				<option value="">{$lang.select_express_company}</option>
                			<!--{foreach from=$express_company item=company key=key}-->
                			<option value="{$key}" {if $key eq $order.express_company} selected="selected"{/if}>{$company}</option>
                			<!--{/foreach}-->
            			</select>
        			</p>
   		 		</li>
    			<!--{/if}-->
    
                <li>
                    <p><input type="text" name="invoice_no"  class="text"  id="invoice_no_input" value="{$order.invoice_no}"placeholder="{$lang.invoice_no}"/></p>
                </li>
                <li>
                    <p><input type="text" id="remark_input" class="text"  name="remark" placeholder="{$lang.operate_reason}" /></p>
                </li>
            </ul>
            <div class="btn-box">
            	<input type="button" onclick="submitDdata()" id="confirm_button" class="btn1 mt10" value="{$lang.confirm}" />
            </div>
    </div>
</div>